Ruby On Rails Interview Questions and Answers
Question: What is the difference between a class and a module?Answer: The straightforward answer: A module cannot be subclassed or instantiated, and modules can implement mixins. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Ruby On Rails?
- Why Ruby on Rails?
- Explain how (almost) everything is an object in Ruby.
- What are Gems and which are some of your favorites?
- How would you declare and use a constructor in Ruby?